<template>
    数值是：{{ num }}
</template>

<script setup>
const props =defineProps({
    num:{type:[String,Number],required:true}
})

</script>